oxidoreductase activity, acting on a heme group of donors